#ifndef REPORTVIEWWIDGET_H
#define REPORTVIEWWIDGET_H

#include <QWidget>
#include <QTabWidget>
#include "drawcor.h"
#include "windows.h"

namespace Ui {
class reportViewWidget;
}

class reportViewWidget : public QWidget
{
    Q_OBJECT
    
public:
    explicit reportViewWidget(QWidget *parent = 0);
    ~reportViewWidget();
    void setMaxValue(const int &max);
    void setPointData(const QVector<double> &point){pointData = point;}
    void begindraw(std::vector<std::vector<std::vector<double> > > &datainput);
    void begindraw64(std::vector<std::vector<double> >  &datainput);
    QTabWidget *tabwidget;

    
private:
    Ui::reportViewWidget *ui;
private:
    int m_MaxValue;
    QVector<double> pointData;

    drawcor *draw_a;


public slots:
    void setProcessBarValue(int val);
    void activeProcessBar();
};

#endif // REPORTVIEWWIDGET_H
